#pragma once

#include "CmdHandler3.h"

class CylinderHandler : public CmdHandler3
{
	Q_OBJECT
public:
	Q_INVOKABLE CylinderHandler();
	~CylinderHandler();

	virtual void input(const QVariant& data, const QString& rawInput, CommandSource cs) override;
private:
	osg::Vec3d m_point;
	osg::Vec3d m_start, m_end, m_axis;
	double m_diameter;
};
